<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>木马牛API调试</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <!-- Bootstrap -->
        <link href="__PUBLIC__/libs/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

        <script> var APP_URL = '<?php echo APP_URL; ?>';</script>
    </head>
    <body>




        <nav class="navbar navbar-inverse">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">木马牛API调试</a>
                </div>
                <div id="navbar" class="collapse navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">接口切换 （<?php echo $dir; ?>）<span class="caret"></span></a>
                            <ul class="dropdown-menu">

                                <?php
                                foreach ($dirs as $key => $value) {
                                    echo '<li><a href="' . url('doc/index/index', ['dir' => $value]) . '">' . $value . '</a></li>';
                                }
                                ?>

                            </ul>
                        </li>
                    </ul>
                </div><!--/.nav-collapse -->
            </div>
        </nav>




        {block name="body"}{/block}
    </body>
</html>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="__PUBLIC__/libs/jquery/1.9.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="__PUBLIC__/libs/bootstrap/3.3.5/js/bootstrap.min.js"></script>

{block name="foot_js"}{/block}